package com.itheima.work3;

public class Test {
    public static void main(String[] args) {
        Outer outer = new Outer();
        Outer.Inner inner = new Outer().new Inner();
        inner.show();

    }
}

class Outer{
    public int number =10;
    class Inner{
        public int number =10;
        public void show(){
            int number = 30;
            System.out.println(number);     //30
            System.out.println(this.number);    //10
            System.out.println(Outer.this.number);  //10
        }
    }

}
